<% include ../pageHeader %>
<div id="mainWrapper">
    <div id="content" class="content">
        <div id="innerContent">
            <div class="textbox">
                <div class="textbox-title"><h4><%=__('user_info')%></h4></div>
                <div class="textbox-content">
                    <table cellpadding="2" cellspacing="1">
                        <tr>
                            <td class="formbox-rowheader" width="120"><%=__('username')%>:</td>
                            <td class="formbox-content"><%=helper.HTMLEncodeLite(tUser.username)%>  <%if(theUser.groupID==1||theUser.id==tUser.id){%> &nbsp;&nbsp; <a href="?act=edit&id=<%=tUser.id%>">[<%=__('edit_profile')%>]</a><%}%>
                            </td>
                        </tr>
                        <tr>
                            <td class="formbox-rowheader" width="120"><%=__('user_group')%>:</td>
                            <td class="formbox-content"><%-tUser.groupName%></td>
                        </tr>
                        <tr>
                            <td class="formbox-rowheader" width="120"><%=__('stats')%>:</td>
                            <td class="formbox-content">
                                <a href="default.asp?user=<%=tUser.id%>" title="<%=__('view_user_article')%>"><%=__('articles')%>: <%=tUser.articleCount%></a>
                                &nbsp;&nbsp;
                                <a href="comment.asp?user=<%=tUser.id%>" title="<%=__('view_user_comment')%>"><%=__('comments')%>: <%=tUser.commentCount%></a>
                            </td>
                        </tr>
                        <tr>
                            <td class="formbox-rowheader" width="120"><%=__('gender')%>:</td>
                            <td class="formbox-content"><%=__('gender')+tUser.gender%></td>
                        </tr>
                        <%if((!tUser.hideEmail||theUser.groupID==1)&&theUser.loggedIn){%>
                        <tr>
                            <td class="formbox-rowheader" width="120"><%=__('email')%>:</td>
                            <td class="formbox-content"><%=helper.HTMLEncodeLite(tUser.email)%></td>
                        </tr>
                        <%}%>
                        <tr>
                            <td class="formbox-rowheader" width="120"><%=__('homepage')%>:</td>
                            <td class="formbox-content"><a href="<%=helper.HTMLEncodeLite(tUser.homepage)%>" target="_blank" ref="nofollow"><%=helper.HTMLEncodeLite(tUser.homepage)%></a></td>
                        </tr>
                        <tr>
                            <td class="formbox-rowheader" width="120"><%=__('last_visit')%>:</td>
                            <td class="formbox-content"><%=helper.getDateTimeString("",tUser.lastVisit)%></td>
                        </tr>
                        <%if(theUser.groupID==1){%>
                        <tr>
                            <td class="formbox-rowheader" width="120"><%=__('ip')%>:</td>
                            <td class="formbox-content"><%=helper.HTMLEncodeLite(tUser.lastIP)%></td>
                        </tr>
                        <%}%>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <% include ../sidebar %>
    <div class="clear"></div>
</div>
<% include ../pageFooter %>
